home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1995 February: Tool Chest / Dev.CD Feb 95 / Dev.CD Feb 95.toast / Sample Code / Pascal Sample 3.0B10 / Source / MakeFile < prev    next >
Encoding:
Makefile  |  1993-10-13  |  3.4 KB  |  121 lines  |  [TEXT/MPS ]

  1. # This file was produced by MakeMake, a nifty utility to create complete
  2. # Make files.  MakeMake is on the Developer CD Series discs.  MakeMake
  3. # understands Pascal fairly well, but not well enough to deal with the
  4. # include directives we use in MPW so that changing something in a unit's
  5. # implementation doesn't cause everyone who USES that unit to recompile.
  6. #
  7. # So we produced this file originally with the command line seen below,
  8. # and then we doctored it by hand to behave as we wished.
  9. #
  10. # There are several things you can make or build that aren't the program.
  11. # Building "Clean" deletes all the object files.  Building "clobber"
  12. # deletes the objects and the target (the application in our case).
  13. # Building "Count" counds all the lines in the files, and building
  14. # "Files" lists all the files involved.  Building "Print" prints all
  15. # the source files.
  16. #
  17. # This makefile was produced at 2:28:54 pm on Thu, Sep 2, 1993 by
  18. # MakeMake 2.0d38 (8/27/1991) by Rick Holzgrafe, scott douglass, Jeff Holcomb.
  19.  
  20.  
  21. # MAKEMAKE = makemake ∂
  22. #            -nosys -comment -objdir :objects: -srcdirs : ∂
  23. #        -t "Pascal Sample" ∂
  24. #            -l "-sym full" -objdir :objects: -f "-t 'APPL' -c 'DSp1'" ∂
  25. #            "POptions = -sym full -mbg full -u" Features.p Print.p Sample.p ∂
  26. #            SampleDialog.p SampleUtilities.p TrafficLights.p Sample.r ∂
  27. #            '{PLibraries}PasLib.o' '{Libraries}Interface.o' ∂
  28. #            '{Libraries}Runtime.o'
  29.  
  30. :objects:    ƒ :
  31.  
  32. TARGETS = "Pascal Sample"
  33.  
  34. DOT_H =
  35.  
  36. DOT_R = Sample.r
  37.  
  38. SRCS = Features.p Features.inc1.p Print.p Print.inc1.p Sample.p ∂
  39.        SampleDialog.p SampleDialog.inc1.p SampleUtilities.p ∂
  40.        SampleUtilities.inc1.p TrafficLights.p TrafficLights.inc1.p
  41.  
  42. OBJS = :objects:Features.p.o :objects:Print.p.o :objects:Sample.p.o ∂
  43.     :objects:SampleDialog.p.o :objects:SampleUtilities.p.o ∂
  44.     :objects:TrafficLights.p.o
  45.  
  46. LIBS = "{PLibraries}PasLib.o" "{Libraries}Interface.o" "{Libraries}Runtime.o"
  47.  
  48. res = Sample.r
  49.  
  50. POptions     = -d SystemSixOrLater=TRUE # -mbg full
  51. count        = count
  52. COUNTOPTS    = 
  53. CTAGS        = Ctags
  54. CTAGSOPTS    = -p -local -update
  55. DELETE       = Delete
  56. DELETEOPTS   = -i
  57. FILES        = Files
  58. FILESOPTS    = -l
  59. LIB          = Lib
  60. LIBOPTS      = 
  61. LINK         = Link
  62. LINKOPTS     = -sn PASLIB=Main
  63. MAKEFILE     = Makefile
  64. Print        = Print
  65. PrintOPTS    = 
  66. REZ          = Rez
  67. SETFILE      = SetFile
  68. SETFILEOPTS  = -t 'APPL' -c 'DSp1' -a BNM
  69.  
  70.  
  71. ROptions = -a # -d qDebug=1
  72.  
  73. "Pascal Sample"    ƒƒ {OBJS} {LIBS}
  74.     {LINK} {LINKOPTS} -o {Targ} {OBJS} {LIBS}
  75.  
  76. "Pascal Sample"    ƒƒ {res}
  77.     {REZ} {ROptions} -o {Targ} {res}
  78.  
  79. "Pascal Sample"    ƒƒ {OBJS} {LIBS} {res}
  80.     {SETFILE} {SETFILEOPTS} {Targ}
  81.     save -a
  82.  
  83. clean    ƒ
  84.     {DELETE} {DELETEOPTS} {OBJS}
  85.  
  86. clobber    ƒ clean
  87.     {DELETE} {DELETEOPTS} {TARGETS}
  88.  
  89. count    ƒ
  90.     {count} {COUNTOPTS} {DOT_H} {DOT_R} {SRCS}
  91.  
  92. files    ƒ
  93.     {FILES} {FILESOPTS} {TARGETS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS} {OBJS}
  94.  
  95. Print    ƒ
  96.     {Print} {PrintOPTS} {MAKEFILE} {DOT_H} {DOT_R} {SRCS}
  97.  
  98. tags    ƒ {DOT_H} {SRCS}
  99.     {CTAGS} {CTAGSOPTS} {C_INCDIRS} {NewerDeps}
  100.  
  101. :objects:Features.p.o ƒ ∂
  102.         Features.inc1.p
  103.  
  104. :objects:Print.p.o ƒ ∂
  105.         SampleUtilities.p Features.p  ∂
  106.         TrafficLights.p Print.inc1.p
  107.  
  108. :objects:Sample.p.o ƒ ∂
  109.         Features.p SampleUtilities.p ∂
  110.         TrafficLights.p SampleDialog.p
  111.  
  112. :objects:SampleDialog.p.o ƒ ∂
  113.         SampleUtilities.p Features.p ∂
  114.         TrafficLights.p SampleDialog.inc1.p
  115.  
  116. :objects:SampleUtilities.p.o ƒ ∂
  117.         Features.p SampleUtilities.inc1.p
  118.  
  119. :objects:TrafficLights.p.o ƒ ∂
  120.         Features.p SampleUtilities.p TrafficLights.inc1.p
  121.